// ml:run = $bin < input
#include <iostream>
#include <algorithm>
#include <string>
#include <vector>

using ll = long long;
ll n, k, c;

int main()
{
    std::ios::sync_with_stdio(false);
    std::cin >> n >> k;
    for (int i = 0; i < 1000; i++)
    {
        c++;
        n = n - k;
        if (n < k) break;
    }
    if (c % 2 == 0)
        std::cout << "NO\n";
    else
        std::cout << "YES\n";
}

